package com.study;

import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

import java.io.InputStream;

@SpringBootApplication
@EnableAspectJAutoProxy
@Slf4j
@MapperScan("com.study.mybatis.mapper")
public class SpringDemoApplication {

   public static void main(String[] args) {
        SpringApplication.run(SpringDemoApplication.class,args);
        log.info("success start app");
       log.error("success start error");
       log.warn("success start wan");

       //ok
       //first
       //fun
       //ok2
   }
}
